﻿using HamcoWcs.Models.Common;
using System;

namespace HamcoWcs.Models.Logss
{
    public class UICommunicationLogQueryModel : PageSizeTime
    {
        public string MessageName { get; set; }

        public string UnitId { get; set; }

        public string Sender { get; set; }

        public string Receiver { get; set; }


    }
    public class UICommunicationLogIOQueryModel : PageSizeTime
    {
        public string MessageName { get; set; } = "";

        public string UnitId { get; set; } = "";

        public string Sender { get; set; } = "";

        public string Receiver { get; set; } = "";

        public string Content { get; set; } = "";
        public string Return { get; set; } = "";
    }


    public class UICommunicationLog : AuditModel
    {
        public string TransactionId { get; set; }

        public string Direction { get; set; }

        public string MessageType { get; set; }

        public string MessageName { get; set; }

        public string MessageStatus { get; set; }

        public string Content { get; set; }

        public string Return { get; set; }

        public string UnitId { get; set; }

        public string Sender { get; set; }

        public string Receiver { get; set; }

        public string CreatedTime { get; set; }

        public string LastUpdateTime { get; set; }
    }
}
